Exporting as a Windows Workflow Foundation File

You can export workflow and business process definitions as C# Source Code files (.cs). The export process is the same for both workflows and business processes.

There are two primary reasons to export a workflow or business process as a C# Source Code file:

To learn about exporting workflow or business process definitions as a XML-based Workflow Import File (.wfi), see Exporting Workflow Definitions.

To export as a C# Source Code file

  1. Open the workflow you want to export in the Designer Pane.
  2. Select Export as Windows Workflow under ClosedWorkflow in the main menu. Alternatively, use the keyboard shortcut CTRL+SHIFT+E.
  3. In the Select Export Location dialog box, name the C# Source Code file.
  4. Browse to and select the location where you want to save the file.
  5. Click Save.